package com.example.security_demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户注册实体类
 *
 * @author zzh
 * @date 2022/5/22
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisteredUserDto {

    /**
     * 用户登录账号，主流是手机号和邮箱
     */
    private String username;

    private String password;

    private String repeatedPassword;

    /**
     * 验证码 可能存在对验证码的验证
     */
    private String authenticationCode;
}
